package com.wie.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.cglib.core.Local;

/**
 * 某国gdp
 * @TableName country_gdp
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value ="country_gdp")
public class CountryGdp implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 国家
     */
    @TableField(value = "country")
    private String country;

    /**
     * 年
     */
    @TableField(value = "year")
    private String year;

    /**
     * 某国一年的gdp（万亿美元）
     */
    @TableField(value = "gdp")
    private String gdp;

    /**
     * 搜索时间
     */
    @TableField(value = "create_time")
    private LocalDateTime create_time;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}